#include <iostream>
#include <math.h>
#include <cmath>

using namespace std;

int x, y;

int main()
{
	cin >> x >> y;
	int r = (int) sqrt((double) (x*x + y*y));
	if (x == 0 || y == 0) cout << "black" << endl;
	else
		if (abs((double)r - sqrt((double)(x*x+y*y))) < 1E-9) cout << "black" << endl;
		else			
			if ((x > 0 && y > 0) || (x < 0 && y < 0))
			{
				if (r % 2 == 0) cout << "black" << endl;
				else cout << "white" << endl;
			}
			else
			{
				if (r % 2 == 0) cout << "white" << endl;
				else cout << "black" << endl;
			}
	return 0;
}
